home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / ip / nfs / nfstrace.shar.Z / nfstrace.shar / rpcspy.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-06  |  512 b   |  25 lines

  1. #define MTU 1536
  2.  
  3. #ifdef NIT
  4. #include <net/nit_if.h>
  5. #include <net/nit_pf.h>
  6. #define DEFAULT "le0"
  7. #else
  8. #include <net/pfilt.h>
  9. #define DEFAULT "ln0"
  10. #endif
  11. typedef struct ether_packet {
  12. #ifdef NIT    /* sunos */
  13. #ifdef STAMPS
  14.     unsigned char stamp[sizeof(struct nit_iftime)+sizeof(struct nit_ifdrops)];
  15. #endif
  16. #else    /* ultrix packet filter */
  17.     unsigned char  stamp[sizeof (struct enstamp)];
  18. #endif
  19.     unsigned char  dhost[6];
  20.     unsigned char  shost[6];
  21.     unsigned short type;
  22.     unsigned char data[MTU];
  23. } ether_packet;
  24.  
  25.